@echo off
echo ========================================
echo 测试登录接口
echo ========================================

echo.
echo 测试1: 获取验证码
echo 请求: GET http://localhost:9091/authCenter/auth/verify/admin
echo.
curl -X GET "http://localhost:9091/authCenter/auth/verify/admin" -H "Content-Type: application/json"

echo.
echo.
echo ========================================
echo 测试2: 用户登录
echo 请求: POST http://localhost:9091/authCenter/auth/login
echo.
curl -X POST "http://localhost:9091/authCenter/auth/login" ^
  -H "Content-Type: application/json" ^
  -d "{\"username\":\"admin\",\"password\":\"123456\",\"verifyCode\":\"1234\"}"

echo.
echo.
echo ========================================
echo 测试完成！
echo ========================================

pause
